//
//  tableFootView.m
//  FoodCorner
//
//  Created by Summer on 16/3/11.
//  Copyright © 2016年 zhangchao. All rights reserved.
//

#import "TableFootView.h"

@implementation TableFootView

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        [self addAllViews];
    }
    return self;
}

- (void)addAllViews
{
    _addSteps = [UIButton buttonWithType:(UIButtonTypeRoundedRect)];
    _addSteps.frame = CGRectMake(80, 80, 100, 30);
    [_addSteps setTitle:@"添加步骤" forState:(UIControlStateNormal)];
    [self addSubview:_addSteps];
    
    _adjustmentAction = [UIButton buttonWithType:(UIButtonTypeRoundedRect)];
    _adjustmentAction.frame = CGRectMake(200, 80, 100, 30);
    [_adjustmentAction setTitle:@"调整步骤" forState:(UIControlStateNormal)];
    [self addSubview:_adjustmentAction];
    
}

@end
